package com.gopay.common.domain.bank;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;
/**
 * 
 * @CheckOrderLog.java
 * @author LiLiLi
 */
@Entity
@Table(name = "BIS_CHECK_ORDER_LOG")
public class CheckOrderLog  extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5120751184147017214L;
	

	/**
	 * 银行订单号
	 */
	@Id
	@Column(name = "GOPAY_OUT_ORDER_ID")
	private String outOrderId;
	
	/**
	 * 对账是否成功
	 */
	@Column(name = "IS_CHECK_OK")
	private int isCheckOk=0;
	
	/**
     * 对账次数
     */
    @Column(name = "CHECK_COUNT")
    private int checkCount=0;
	
	/**
	 * 对账返回码
	 */
	@Column(name = "BANK_RESPCODE")
	private String respcode;
	
	/**
	 * 对账时间
	 */
	@Column(name = "CHECK_TM")
	private Date checktime;

	public String getOutOrderId() {
		return outOrderId;
	}

	public void setOutOrderId(String outOrderId) {
		this.outOrderId = outOrderId;
	}


	public int getIsCheckOk() {
		return isCheckOk;
	}

	public void setIsCheckOk(int isCheckOk) {
		this.isCheckOk = isCheckOk;
	}

    public int getCheckCount() {
        return checkCount;
    }

    public void setCheckCount(int checkCount) {
        this.checkCount = checkCount;
    }

    public String getRespcode() {
        return respcode;
    }

    public void setRespcode(String respcode) {
        this.respcode = respcode;
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

}
